package com.liaosheng;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName Item
 * @Description: TODO
 * @Author: NeySun
 * @Create: 2022-12-16 15:22
 * @Version 1.0
 **/
//购物车中的商品
@Data
public class Item {
    //商品ID
    private long id;
    //商品数量
    private int quantity;
    //商品单价
    private BigDecimal price;
    //商品优惠
    private BigDecimal couponPrice;
    //商品运费
    private BigDecimal deliveryPrice;
}